package com.exam.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * admin
 * @author 
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Admin implements Serializable {
    /**
     * ID
     */
    @TableId(type =  IdType.AUTO )
    private Integer id;

    /**
     * 管理员账号
     */
    private String adminId;

    /**
     * 管理员密码
     */
    private String adminPassword;

    /**
     * 姓名
     */
    private String adminName;

    /**
     * 地址
     */
    private String adminAddress;

    /**
     * 使用状态
     */
    private String useStatus;

    /**
     * 联系电话
     */
    private String adminTel;

    private static final long serialVersionUID = 1L;
}